package com.dykj.fireFighting.web.service.impl;

import com.dykj.fireFighting.web.mapper.SuspectedFireMapper;
import com.dykj.fireFighting.web.model.SuspectedFire;
import com.dykj.fireFighting.web.service.SuspectedFireService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author fgc
 * @Date 2021/7/21 11:25
 * @ Description：疑似火警服务接口实现类
 */
@Service
public class SuspectedFireServiceImpl implements SuspectedFireService {
    @Autowired
    private SuspectedFireMapper suspectedFireMapper;
    @Override
    public int insertSuspectedFire(SuspectedFire suspectedFire) {
        return suspectedFireMapper.insert(suspectedFire);
    }

    @Override
    public int updateSuspectedFire(SuspectedFire suspectedFire) {
        return suspectedFireMapper.update(suspectedFire);
    }
}
